home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HyperLib 1997 Winter - Disc 1
/
HYPERLIB-1997-Winter-CD1.ISO.7z
/
HYPERLIB-1997-Winter-CD1.ISO
/
オンラインウェア
/
COM
/
World Wide Web Weaver.sit
/
World Wide Web Weaver
/
World Wide Web Weaver 1.1.1 д
/
Extras
/
MacWebLint 1.011
/
Announce
next >
Wrap
Text File
|
1995-12-06
|
4KB
|
117 lines
Weblint 1.011 is now available:
http://www.khoral.com/staff/neilb/weblint.html
ftp://ftp.khoral.com/pub/perl/www/weblint-1.011.tar.gz
ftp://ftp.khoral.com/pub/perl/www/weblint.zip
Weblint is a syntax and minimal style checker for HTML: a perl script which
picks fluff off html pages, much in the same way traditional lint picks fluff
off C programs.
Changes are summarized below, see the ChangeLog file in the distribution for
more detail.
Thanks to everyone for suggestions and bug reports,
neilb
Changes in Weblint 1.011
* Weblint now understands use of ' as a delimiter for attribute values,
in addition to ". For example:
<A HREF='http://www.khoral.com/'>KRI</A>
Added a warning `attribute-delimiter', which warns that not all
browsers correctly support ' in this way.
* Added a new warning, `netscape-attribute', which flags use of
use netscape-specific attributes for a non netscape-specific tag.
* Added support for weblint variables in your .weblintrc.
* Added variable `message-style', which can be used to specify the style
of warning message to generate
lint (default) lint-style warning messages
short -s short messages (no filename)
terse -t format for parsing (eg by testsuite)
* Weblint will now check pages specified by URL, for example:
weblint http://www.khoral.com/staff/neilb/weblint.html
The -urlget switch is used to specify the command which weblint
should use to retrieve URLs, or you can set the 'url-get' variable
in your .weblintrc.
* Added a warning, 'closing-attribute', which warns if you have
attributes for a closing tag of a container. For example:
<H1>This is a heading</H1 ALIGN=CENTER>
* Added a warning, `directory-index', which checks to see if every
directory has an index file when recursing. By default the index
file is expected to be called `index.html', but this can be
over-ridden in your .weblintrc:
set directory-index = home.html
* Added a new warning, `empty-container', which generates a warning if
you have an empty container element. For example: <TITLE></TITLE>
* Added a -warnings switch, to list all supported warnings.
* Added a warning `must-follow', which is used to check situations
where an element must immediately follow an other. This checks:
- Shouldn't have anything appearing between the HEAD and BODY
elements.
- LH (list heading) must be the first element in an OL, UL,
or DL element.
- OVERLAY first in a FIG
- HEAD should immediately follow HTML
- BODY should immediately follow /HEAD
- /HTML should immediately follow /BODY
* Fixed the bug where weblint would complain about a comment
(claiming it was not a valid comment), if it was the last thing
in the file.
* Added a check for known warnings when enabling or disabling warnings.
New Warnings in Weblint 1.011
attribute-delimiter
Default: enabled
Warn against use of ' as a delimiter for attribute values.
netscape-attribute
Default: enabled
If your html uses netscape-specific attributes, and you don't have
netscape enabled, it warns about uses of netscape attributes,
rather than unknown attributes.
closing-attribute
Default: enabled
Warn about attributes on closing tag of container elements.
directory-index
Default: enabled
When recursing in directories, check if an index file exists.
Name of index file can be specified.
empty-container
Default: enabled
Warn if a container is empty.
must-follow
Default: enabled
Warn about situations where one element is expected to immediately
follow another, with no tags or text between.